package cn.ulc.socket.weapp.service.impl;

import cn.ulc.socket.weapp.common.BaseService;
import cn.ulc.socket.weapp.service.CompanyServ;
import cn.ulc.store.dao.CompanyDao;
import cn.ulc.store.entity.Company;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class CompanyServImpl extends BaseService implements CompanyServ {
    CompanyDao companyDao;

    @Override
    public Company findOne(Long id) {
        return companyDao.findOne(id);
    }
}
